home *** CD-ROM | disk | FTP | other *** search
/ Aminet 39 / Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso / Aminet / util / cli / SED.readme < prev    next >
Encoding:
Text File  |  2000-09-02  |  5.7 KB  |  146 lines

  1. Short:    Amiga stream editor
  2. Author:   thor@math.tu-berlin.de (Thomas Richter)
  3. Uploader: thor@math.tu-berlin.de (Thomas Richter)
  4. Version:  40.0
  5. Type:     util/cli
  6. Requires: AmigaOs 2.04 or better
  7.  
  8. ______________________________________________________________________________
  9.  
  10. Purpose of this program:
  11.  
  12.     SED takes an input file, checks each line of this file against a
  13.     pattern supplied on the command line, and generates a new line from
  14.     this pattern match in the destination. This could either mean that
  15.     the matching line is removed completely from the output, replaced
  16.     by a different line, or changed according to the specifications of
  17.     SED.
  18.     
  19.     SED is an approximation of the Unix "stream editor" sed. It is not
  20.     quite as powerful as sed because its command set is currently very
  21.     limited, and it does not support command files. Its pattern syntax
  22.     is different, too. It still looks like "line noise" to me - I didn't
  23.     want to break with this tradition - but it's at least the Amiga kind
  24.     of line noise.
  25.  
  26.     Its pattern matching rules are a superset of the AmigaOs patterns,
  27.     with some additional features like "captured expressions" and more
  28.     powerful "character classes" and "escaping".
  29.  
  30.     SED is useful for automatic processing of text files, e.g. the modi-
  31.     fication of the startup-sequence. SED can also be run as a "filter"
  32.     in which case it reads its input from stdin and prints output to
  33.     stdout. Combine this feature with pipes and you get a very powerful
  34.     text processing tool.
  35.  
  36.     A warning: Pattern matching looks simple, but is full of hard to gasp
  37.     traps. This tool is therefore thought to be for "expert usage". In 
  38.     case you think SED doesn't process your pattern correctly, think
  39.     twice!
  40.  
  41.     For further details, please read the SED.doc.
  42. ______________________________________________________________________________
  43.  
  44. Release 40.0:
  45.  
  46.     This is the first Aminet release. This is a 40.0 release because
  47.     pattern matching is a very complex buisiness and even though I tested
  48.     this release quite good, I wouldn't be astonished if some flaws still
  49.     remained. Pattern matching logic is astonishing sometimes, so please
  50.     check the documentation first before reporting any "obvious" bugs. The
  51.     obvious bugs should be gone already!
  52.  
  53. ______________________________________________________________________________
  54.  
  55.                          The THOR-Software Licence (v2, 24th June 1998)
  56.  
  57.  
  58. This License applies to the computer programs known as "SED". The "Program", 
  59. below, refers to such program. The "Archive" refers to the package of 
  60. distribution, as prepared by the author of the Program, Thomas Richter. 
  61. Each licensee is addressed as "you".
  62.  
  63.  
  64.  
  65. The Program and the data in the archive are freely distributable
  66. under the restrictions stated below, but are also Copyright (c)
  67. Thomas Richter.
  68.  
  69. Distribution of the Program, the Archive and the data in the Archive by a
  70. commercial organization without written permission from the author to any
  71. third party is prohibited if any payment is made in connection with such
  72. distribution, whether directly (as in payment for a copy of the Program) or
  73. indirectly (as in payment for some service related to the Program, or
  74. payment for some product or service that includes a copy of the Program
  75. "without charge"; these are only examples, and not an exhaustive enumeration
  76. of prohibited activities).
  77.  
  78.  
  79. However, the following methods of distribution
  80. involving payment shall not in and of themselves be a violation of this
  81. restriction:
  82.  
  83.  
  84. (i) Posting the Program on a public access information storage and
  85. retrieval service for which a fee is received for retrieving information
  86. (such as an on-line service), provided that the fee is not
  87. content-dependent (i.e., the fee would be the same for retrieving the same
  88. volume of information consisting of random data).
  89.  
  90.  
  91. (ii) Distributing the Program on a CD-ROM, provided that
  92.  
  93. a) the Archive is reproduced entirely and verbatim on such CD-ROM, including
  94. especially this licence agreement;
  95.  
  96. b) the CD-ROM is made available to the public for a nominal fee only,
  97.  
  98. c) a copy of the CD is made available to the author for free except for
  99. shipment costs, and
  100.  
  101. d) provided further that all information on such CD-ROM is redistributable
  102. for non-commercial purposes without charge.
  103.  
  104.  
  105. Redistribution of a modified version of the Archive, the Program or the
  106. contents of the Archive is prohibited in any way, by any organization,
  107. regardless whether commercial or non-commercial. Everything must be kept
  108. together, in original and unmodified form.
  109.  
  110.  
  111.  
  112.  
  113. Limitations.
  114.  
  115.  
  116. THE PROGRAM IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY. THERE IS NO
  117. WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  118. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  119. PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
  120. RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
  121. THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  122. SERVICING, REPAIR OR CORRECTION.
  123.  
  124.  
  125. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE THE PROGRAM, THE ARCHIVE
  126. AND ALL DATA OF THIS ARCHIVE FROM YOUR STORAGE SYSTEM. YOU ACCEPT THIS
  127. LICENCE BY USING OR REDISTRIBUTING THE PROGRAM.
  128.  
  129.  
  130.                                                         Thomas Richter
  131. ______________________________________________________________________________
  132.  
  133. Thomas Richter,
  134.                 August 2000
  135.  
  136.  
  137. ============================= Archive contents =============================
  138.  
  139. Original  Packed Ratio    Date     Time    Name
  140. -------- ------- ----- --------- --------  -------------
  141.     6320    4070 35.6% 19-Aug-00 21:13:46 +SED
  142.    17953    6535 63.5% 28-Aug-00 23:01:02 +SED.doc
  143.     5382    2459 54.3% 26-Aug-00 16:21:20 +SED.readme
  144. -------- ------- ----- --------- --------
  145.    29655   13064 55.9% 29-Aug-100 17:36:44   3 files
  146.